#ifndef MAQGRAPHICSSCENE_H
#define MAQGRAPHICSSCENE_H


#include <QGraphicsScene>
#include <QMouseEvent>
#include <QWidget>

class MaQGraphicsScene : public QGraphicsScene
{
    Q_OBJECT

public:

    MaQGraphicsScene();
    explicit MaQGraphicsScene(QRect rect, QWidget *vue);

    ~MaQGraphicsScene();

private:

signals:
    void mousePress(QPoint point);
    void mouseMove(QPoint point);
    void mouseRelease(QPoint point);

 public slots:
    void pressEvent(QPoint point);
    void moveEvent(QPoint point);
    void releaseEvent(QPoint point);

};


#endif // MAQGRAPHICSSCENE_H

